﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Theme_Default.aspx.cs" Inherits="ERP.Page.Theme_Default" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Phần mềm quản lý CRM</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link href="../Css/main.css" rel="stylesheet" />
    <link href="../Css/style.css" rel="stylesheet" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link href="../Modules/FileUpload/fileupload.css" rel="stylesheet" />
    <%--MyScript--%>
    <script src="../Js/jquery.min.js"></script>
    <script src="../Js/MyScripts.js"></script>
    <%--End--%>
</head>
<body>
    <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager" runat="server" Locale="Client" DisableViewState="true" />
        <ext:Viewport runat="server" Layout="BorderLayout">
            <Content>
                <ext:Panel ID="PanelHeader"
                    runat="server"
                    Header="false"
                    Region="North"
                    Border="false"
                    Layout="FitLayout">
                    <Content>
                        <div id="titlebar">
                            <div id="left">
                                <div class="minor">
                                    <ext:Toolbar ID="Toolbartop" runat="server" Dock="Top" Border="false">
                                        <Items>
                                            <ext:Image ID="ImageLogo" runat="server" ImageUrl="../Img/logo.png" Width="30px" Height="16px"></ext:Image>
                                            <ext:Label ID="lbCompany" runat="server" Text="PHẦN MỀM QUẢN LÝ CRM" Cls="font-size-lable"></ext:Label>
                                            <ext:ToolbarSeparator />
                                            <ext:Button ID="btnAbout" runat="server" Text="Trợ giúp" Icon="Help">
                                                <Menu>
                                                    <ext:Menu ID="MenuAbout" runat="server">
                                                        <Items>
                                                            <ext:MenuItem ID="MenuTutorial" runat="server" Text="Hướng dẫn" Icon="Book"></ext:MenuItem>
                                                            <ext:MenuItem ID="MenuItemUpdateSoft" runat="server" Text="Cập nhật phần mềm" Icon="Build"></ext:MenuItem>
                                                            <ext:MenuItem ID="MenuItemAbout" runat="server" Text="Thông tin phần mềm" Icon="Information">
                                                                <DirectEvents>
                                                                    <Click OnEvent="MenuItemAbout_Click">
                                                                        <EventMask ShowMask="true" Msg="Đang tải" />
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:MenuItem>
                                                        </Items>
                                                    </ext:Menu>
                                                </Menu>
                                            </ext:Button>
                                            <ext:ToolbarFill />
                                            <%--Icon Cog--%>
                                            <ext:Button ID="btnSystems" runat="server" Text="" Icon="User">
                                                <Menu>
                                                    <ext:Menu ID="MenuSystemsSub" runat="server">
                                                        <Items>
                                                            <ext:MenuItem ID="MenuItemBakupDatabase" runat="server" Text="Bakup CSDL" Icon="Database" Visible="False" />
                                                            <ext:MenuItem ID="MenuItemUserInfo" runat="server" Text="Thông tin tài khoản" Icon="User">
                                                                <DirectEvents>
                                                                    <Click OnEvent="MenuItemUserInfo_Click">
                                                                        <EventMask ShowMask="true" Msg="Đang tải" />
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:MenuItem>
                                                            <ext:MenuItem ID="MenuItemChangePage" runat="server" Text="Đổi mật khẩu" Icon="UserEdit">
                                                                <DirectEvents>
                                                                    <Click OnEvent="MenuItemChangePage_Click">
                                                                        <EventMask ShowMask="true" Msg="Đang tải" />
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:MenuItem>
                                                            <ext:MenuItem ID="MenuItemExit" runat="server" Text="Thoát" Icon="Cross">
                                                                <DirectEvents>
                                                                    <Click OnEvent="MenuItemExit_Click">
                                                                        <EventMask ShowMask="true" Msg="Đang tải..."></EventMask>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:MenuItem>
                                                        </Items>
                                                    </ext:Menu>
                                                </Menu>
                                            </ext:Button>
                                        </Items>
                                    </ext:Toolbar>
                                </div>
                                <div class="clr"></div>
                            </div>
                        </div>
                    </Content>
                </ext:Panel>
                <ext:Panel ID="PanelLeft" runat="server"
                    Title="Danh sách Modules"
                    Region="West"
                    Layout="AccordionLayout"
                    Width="215"
                    Icon="ApplicationForm"
                    MinWidth="225"
                    MaxWidth="400"
                    Split="true"
                    Collapsible="true">
                    <Items>
                        <ext:TreePanel
                            ID="PhanHeMuaBanHang"
                            runat="server"
                            Title="Phân hệ mua - bán hàng"
                            Border="False"
                            RootVisible="False"
                            Icon="Cart"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Mua hàng" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="Order" Text="Phiếu đề nghị mua hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/OrderBuyParrent.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="Buy" Text="Đơn mua hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/BuyParrent.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Bán hàng">
                                            <Children>
                                                <ext:Node NodeID="OrderSell" Text="Phiếu đề nghị bán hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/OrderSell.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="Sell" Text="Đơn bán hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Sell.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="PhanHeKho"
                            runat="server"
                            Title="Phân hệ kho"
                            Border="False"
                            RootVisible="False"
                            Icon="House"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Từ điển kho" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeChiNhanh" Text="Chi nhánh" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Branch.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhongChua" Text="Phòng chứa" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Room.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeKho" Text="Kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Warehouse.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeNhomVatTu" Text="Nhóm vật tư" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Materials_Type.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeVayTu" Text="Vật tư" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Materials.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeMaVach" Text="Mã vạch" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Barcode.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeHangSanXuat" Text="Hãng sản xuất" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Manufacturer.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Quản lý nhập - xuất kho">
                                            <Children>
                                                <ext:Node NodeID="NodePhieuDeNghiNhapKho" Text="Phiếu đề nghị nhập kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Proposed.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhieuNhapKho" Text="Phiếu nhập kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Import.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhieuDenghiXuatKho" Text="Phiếu đề nghị xuất kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Proposed_Export.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhieuXuatKho" Text="Phiếu xuất kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Export.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeNhapDauKy" Text="Nhập đầu kỳ" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Inventory.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeChoKho" Text="Chốt kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/LockWarehouse.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Tồn kho">
                                            <Children>
                                                <ext:Node Text="Xem tồn kho" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ViewInventory.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="PhanHeThuChi"
                            runat="server"
                            Title="Phân hệ thu - chi"
                            Border="False"
                            RootVisible="False"
                            Icon="Bricks"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Kế toán" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeKhoanMucThuChi" Text="Khoản mục thu chi" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Income_Expenditure_Method.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTaiKhoanThuChi" Text="Tài khoản thu chi" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Bank_Account.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhanHeTaiKhoanCap1" Text="Phân hệ tài khoản cấp 1" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/AssignedAccountLevel_1.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhanHeTaiKhoanCap2" Text="Phân hệ tài khoản cấp 2" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/AssignedAccountLevel_2.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTienMat" Text="Tiền mặt" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/CashFund.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Thu" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodePhuongThucThu" Text="Phương thức thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReceiptReason.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhieuThu" Text="Phiếu thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Receipt.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Chi">
                                            <Children>
                                                <ext:Node NodeID="NodePhuongThucChi" Text="Phương thức chi" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ExpenditureReason.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhieuChi" Text="Phiếu chi" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Expenditure.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Chốt sổ">
                                            <Children>
                                                <ext:Node NodeID="NodeChotSoPhieuThu" Text="Phiếu thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Report_Receipt.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeChotSoPhieuChi" Text="Phiếu chi" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Report_Expenditure.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Nhật ký">
                                            <Children>
                                                <ext:Node NodeID="NodeNhatKyPhieuThu" Text="Phiếu thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/LogReportReceipt.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeNhatKyPhieuChi" Text="Phiếu chi" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/LogReportExpenditure.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="PhanHeCongNo"
                            runat="server"
                            Title="Phân hệ công nợ"
                            Border="False"
                            RootVisible="False"
                            Icon="Brick"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Công nợ phải trả" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeChiTietCongNoPhaiTra" Text="Chi tiết công nợ phải trả" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Liabilities_Expenditure.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTongHopCongNoPhaiTra" Text="Tổng hợp công nợ phải trả" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Liabilities_Expenditure_Sum.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Công nợ phải thu" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeChiTietCongNoPhaiThu" Text="Chi tiết công nợ phải thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Liabilities_Receiver.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTongHopCongNoPhaiThu" Text="Tổng hợp công nợ phải thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Liabilities_Receiver_Sum.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Công nợ quá hạn">
                                            <Children>
                                                <ext:Node NodeID="NodeChiTietCongNoQuaHanPhaiTra" Text="Chi tiết công nợ phải trả" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportLiabilities_Payment_Deadline.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTongHopCongNoQuaHanPhaiTra" Text="Tổng hợp công nợ quá hạn phải trả" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportLiabilities_Payment_Deadline_SUM.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeChiTietCongNoQuaHanPhaiThu" Text="Chi tiết công nợ quá hạn phải thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportLiabilities_Payment_Deadline_Receiver.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTongHopCongNoQuaHanPhaiThu" Text="Tổng hợp công nợ quá hạn phải thu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportLiabilities_Payment_Deadline_SUM_Receiver.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="PhanHeNhanSu"
                            runat="server"
                            Title="Phân hệ nhân sự"
                            Border="False"
                            RootVisible="False"
                            Icon="User"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Tuyển dụng" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeLyDoTuyenDung" Text="Lý do tuyển dụng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/RecruitmentPlan.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeKeHoachTuyenDung" Text="Kế hoạch tuyển dụng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/RecruitmentPlanMain.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeThongTinUngVien" Text="Thông tin ứng viên" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Applicants.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhongVanUngVien" Text="Phỏng vấn ứng viên" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Interview.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Quản lý nhân sự" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodePhongBan" Text="Phòng ban" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Department.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeBoPhan" Text="Bộ phận" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Part.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeChucVu" Text="Chức vụ" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Job.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeHoSoNhanVien" Text="Hồ sơ nhân viên" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Employee.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Quản lý hợp đồng" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeLoaiHopDong" Text="Loại hợp đồng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/TypeContract.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeHopDong" Text="Hợp đồng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Contract.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="PhanHeKhachHang"
                            runat="server"
                            Title="Phân hệ khách hàng"
                            Border="False"
                            RootVisible="False"
                            Icon="Group"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Khách hàng" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeLoaiKhachHang" Text="Loại khách hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Customer_Type.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeNguoiLienHe" Text="Người liên hệ" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Contact.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeKhachHang" Text="Khách hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Customer.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeGiaoDich" Text="Giao dịch" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Transaction.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Biểu mẫu" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeBieuMau" Text="Cập nhật biểu mẫu" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Forms.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Quản lý dịch vụ" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeBaoGia" Text="Báo giá" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Quotes.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeLapPhieuBaoHanh" Text="Lập phiếu bảo hành" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ServicesMaintain.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeChamSocKhachHang" Text="Chăm sóc khách hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/CustomerCare.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="PhanHeBaoCao"
                            runat="server"
                            Title="Bao cáo quản trị"
                            Border="False"
                            RootVisible="False"
                            Icon="Report"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Kho" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeBaoCaoNhapXuatTon" Text="Báo cáo nhập xuất tồn" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportInventory.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeNhatKyNhapXuat" Text="Nhật ký nhập xuất" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportLogImportExport.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Nhân viên" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeChiTietDoanhSoNhanVien" Text="Chi tiết doanh số nhân viên" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportEmployee_Sales.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTongHopDoanhSoNhanVien" Text="Tổng hợp doanh số nhân viên" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportEmployee_Sales_Sum.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Khách hàng" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeChiTietDoanhSoKhachHang" Text="Chi tiết doanh số khách hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportCustomer_Sales.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeTongHopDoanhSoKhachHang" Text="Tổng hợp doanh số khách hàng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ReportCustomer_Sales_Sum.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                        <ext:TreePanel
                            ID="QuanTriHeThong"
                            runat="server"
                            Title="Quản trị hệ thống"
                            Border="False"
                            RootVisible="False"
                            Icon="Cog"
                            Layout="FitLayout">
                            <Fields>
                                <ext:ModelField Name="url" />
                            </Fields>
                            <Root>
                                <ext:Node>
                                    <Children>
                                        <ext:Node Text="Phân quyền" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeNhomQuyen" Text="Nhóm quyền" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/GroupUser.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeNhomTrang" Text="Nhóm trang" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ModulesMain.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>

                                                <ext:Node NodeID="NodeTrang" Text="Trang" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/ModulesParent.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodePhanQuyen" Text="Phân quyền" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/UserPermisstion.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                                <ext:Node NodeID="NodeUser" Text="Người dùng" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/User.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                        <ext:Node Text="Cấu hình hệ thống" Icon="Folder">
                                            <Children>
                                                <ext:Node NodeID="NodeCauHinhMail" Text="Cấu hình Mail" Icon="ApplicationViewList" Leaf="true">
                                                    <CustomAttributes>
                                                        <ext:ConfigItem Name="url" Value="../PageParrent/Mail_Setting.aspx" Mode="Value" />
                                                    </CustomAttributes>
                                                </ext:Node>
                                            </Children>
                                        </ext:Node>
                                    </Children>
                                </ext:Node>
                            </Root>
                        </ext:TreePanel>
                    </Items>
                </ext:Panel>
                <ext:TabPanel ID="Pages" runat="server" AutoFocus="true" Region="Center">
                    <Plugins>
                        <ext:BoxReorderer runat="server" />
                        <ext:TabCloseMenu CloseOthersTabsText="Đóng tab khác" CloseAllTabsText="Đóng tất cả các tab" CloseTabText="Đóng tab" />
                    </Plugins>
                    <BottomBar>
                        <ext:StatusBar
                            ID="StatusBarCenter"
                            runat="server"
                            StatusAlign="Right">
                            <Items>
                                <ext:ToolbarTextItem ID="TbarComputerName" runat="server" Text="ComputerName" />
                                <ext:ToolbarSeparator runat="server" />
                                <ext:ToolbarTextItem ID="TbarIPAddress" runat="server" Text="ComputerName" />
                                <ext:ToolbarSeparator runat="server" />
                                <ext:ToolbarTextItem ID="TbarSession" runat="server" Text="Session" />
                            </Items>
                        </ext:StatusBar>
                    </BottomBar>
                </ext:TabPanel>
            </Content>
        </ext:Viewport>
        <ext:Window ID="WindowChangePass"
            runat="server"
            Width="350"
            Title="Thay đổi mật khẩu"
            Icon="UserEdit"
            Closable="false"
            Region="Center"
            BodyPadding="5"
            Modal="True"
            Hidden="true"
            DefaultButton="btnChangePass"
            Layout="Form">
            <Defaults>
                <ext:Parameter Name="LabelWidth" Value="125" Mode="Raw" />
            </Defaults>
            <Items>
                <ext:TextField
                    ID="txtPassOld"
                    runat="server"
                    FieldLabel="Mật khẩu cũ:"
                    InputType="Password"
                    AnchorHorizontal="100%">
                    <Plugins>
                        <ext:CapsLockDetector ID="CapsLockDetector1" runat="server">
                            <Listeners>
                                <CapsLockOn Handler="#{txtPassOld}.showIndicator({iconCls : '#Error', tip : 'Đang bật Caps Lock'});" />
                                <CapsLockOff Handler="#{txtPassOld}.hideIndicator();" />
                            </Listeners>
                        </ext:CapsLockDetector>
                    </Plugins>
                </ext:TextField>
                <ext:TextField
                    ID="txtNewPass"
                    runat="server"
                    FieldLabel="Mật khẩu mới:"
                    InputType="Password"
                    AnchorHorizontal="100%">
                    <Listeners>
                        <ValidityChange Handler="this.next().validate();" />
                        <Blur Handler="this.next().validate();" />
                    </Listeners>
                    <Plugins>
                        <ext:CapsLockDetector ID="CapsLockDetector2" runat="server">
                            <Listeners>
                                <CapsLockOn Handler="#{txtNewPass}.showIndicator({iconCls : '#Error', tip : 'Đang bật Caps Lock'});" />
                                <CapsLockOff Handler="#{txtNewPass}.hideIndicator();" />
                            </Listeners>
                        </ext:CapsLockDetector>
                    </Plugins>
                </ext:TextField>
                <ext:TextField ID="txtConfirmPasswords"
                    runat="server"
                    Vtype="password"
                    FieldLabel="Nhập lại mật khẩu:"
                    InputType="Password"
                    VtypeText="Nhập lại mật khẩu không chính xác"
                    MsgTarget="Side"
                    AnchorHorizontal="100%">
                    <CustomConfig>
                        <ext:ConfigItem Name="initialPassField" Value="txtNewPass" Mode="Value" />
                    </CustomConfig>
                    <Plugins>
                        <ext:CapsLockDetector ID="CapsLockDetector3" runat="server">
                            <Listeners>
                                <CapsLockOn Handler="#{txtConfirmPasswords}.showIndicator({iconCls : '#Error', tip : 'Đang bật Caps Lock'});" />
                                <CapsLockOff Handler="#{txtConfirmPasswords}.hideIndicator();" />
                            </Listeners>
                        </ext:CapsLockDetector>
                    </Plugins>
                </ext:TextField>
            </Items>
            <Buttons>
                <ext:Button ID="btnChangePass" runat="server" Text="Đổi mật khẩu" Icon="Disk">
                    <DirectEvents>
                        <Click OnEvent="btnChangePass_Click">
                            <EventMask ShowMask="true" Msg="Đang tải" />
                        </Click>
                    </DirectEvents>
                </ext:Button>
            </Buttons>
            <Buttons>
                <ext:Button ID="btnCancel" runat="server" Text="Thoát" Icon="Cancel">
                    <DirectEvents>
                        <Click OnEvent="btnCancel_Click">
                            <EventMask ShowMask="true" Msg="Đang tải" />
                        </Click>
                    </DirectEvents>
                </ext:Button>
            </Buttons>
        </ext:Window>
        <ext:Window ID="WindowUserInfo"
            runat="server"
            Width="350"
            Title="Thông tin tài khoản"
            Icon="User"
            Closable="false"
            Region="Center"
            BodyPadding="5"
            Resizable="False"
            Modal="True"
            Hidden="true"
            Layout="Form">
            <Items>
                <ext:FormPanel ID="FormPanel1"
                    runat="server"
                    Height="400"
                    Width="328"
                    Header="False"
                    BodyPadding="5"
                    MonitorResize="true">
                    <Items>
                        <ext:FieldContainer ID="FieldContainer1"
                            runat="server"
                            FieldLabel="Tên đăng nhập"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbUserName" runat="server" Text="Tên tài khoản" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer2"
                            runat="server"
                            FieldLabel="Tên nhân viên"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbFullName" runat="server" Text="Tên nhân viên" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer3"
                            runat="server"
                            FieldLabel="Chức vụ"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbJob" runat="server" Text="Chức vụ" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer4"
                            runat="server"
                            FieldLabel="Nhóm quyền"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbRoles" runat="server" Text="Nhóm quyền" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer5"
                            runat="server"
                            FieldLabel="Số điện thoại"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbCellPhone" runat="server" Text="Điện thoại" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer6"
                            runat="server"
                            FieldLabel="Email"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbEmail" runat="server" Text="Email" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer7"
                            runat="server"
                            FieldLabel="Ngày tạo"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbCreateDate" runat="server" Text="dd/MM/yyyy" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                    </Items>
                </ext:FormPanel>
            </Items>
            <Buttons>
                <ext:Button ID="btnClose" runat="server" Text="Đóng lại" Icon="Cancel">
                    <DirectEvents>
                        <Click OnEvent="btnClose_Click">
                            <EventMask ShowMask="true" Msg="Đang tải" />
                        </Click>
                    </DirectEvents>
                </ext:Button>
            </Buttons>
        </ext:Window>
        <ext:Window ID="WindowSoftInfo"
            runat="server"
            Width="350"
            Title="Thông tin phần mềm"
            Icon="Information"
            Closable="false"
            Region="Center"
            BodyPadding="5"
            Resizable="False"
            Modal="True"
            Hidden="true"
            Layout="Form">
            <Items>
                <ext:FormPanel ID="FormPanel2"
                    runat="server"
                    Height="400"
                    Width="328"
                    Header="False"
                    BodyPadding="5"
                    MonitorResize="true">
                    <Items>
                        <ext:FieldContainer ID="FieldContainer8"
                            runat="server"
                            FieldLabel="Tên khách hàng"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbCustomer" runat="server" Text="Tên khách hàng" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer9"
                            runat="server"
                            FieldLabel="Loại License"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbLicenseTye" runat="server" Text="Loại License" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer10"
                            runat="server"
                            FieldLabel="License"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbLicense" runat="server" Text="License" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer11"
                            runat="server"
                            FieldLabel="Key"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbKey" runat="server" Text="Key" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer12"
                            runat="server"
                            FieldLabel="Ngày đăng ký"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbCreateDateLicense" runat="server" Text="Ngày đăng ký" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer13"
                            runat="server"
                            FieldLabel="Phiên bản"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbVersion" runat="server" Text="Version" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                        <ext:FieldContainer ID="FieldContainer14"
                            runat="server"
                            FieldLabel="Trạng thái"
                            AnchorHorizontal="100%"
                            LabelWidth="130"
                            Layout="HBoxLayout">
                            <Items>
                                <ext:Label ID="lbStatustActive" runat="server" Text="StatustActive" StyleSpec="color:red"></ext:Label>
                            </Items>
                        </ext:FieldContainer>
                    </Items>
                </ext:FormPanel>
            </Items>
            <Buttons>
                <ext:Button ID="btnCloseSoftInfo" runat="server" Text="Đóng lại" Icon="Cancel">
                    <DirectEvents>
                        <Click OnEvent="btnCloseSoftInfo_Click">
                            <EventMask ShowMask="true" Msg="Đang tải" />
                        </Click>
                    </DirectEvents>
                </ext:Button>
            </Buttons>
        </ext:Window>
    </form>
</body>
</html>